package com.xy.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @author xxy
 * @date 2022/1/6 14:33
 */
@Data
@ConfigurationProperties(prefix = "ems.server")
@PropertySource("classpath:ems.properties")
public class EmsServerProperties {

    private String host = "http://localhost:8080";
    private String url;

}
